package engine

/*
	一环扣一环的结构，简直不要太精妙
*/

type ParserFunc func([]byte,string) ParserResult

type Request struct {
	Url					string
	ParserFunc		ParserFunc
}
type ParserResult struct {
	Requests []Request
	Items    []Item
}

type Item struct {
	Url 					string
	Type 				string
	Id					string
	Payload			interface{}
}

